package com.gilgamesh.mall.product.service;

import com.gilgamesh.mall.sdk.bean.product.OutofstockEntity;
import com.gilgamesh.mall.sdk.dto.ResponseDTO;
import com.gilgamesh.mall.sdk.dto.product.OutofstockDTO;

import java.util.List;

/**
 * Created by Peiyao.Wang on 2021/1/13
 *
 * @author Peiyao.Wang
 * @date 2021/1/13
 */
public interface OutofstockService {
    ResponseDTO<OutofstockDTO> getOutofstockById(Long id);

    ResponseDTO<List<OutofstockDTO>> listOutofstockDTOl(OutofstockEntity outofstockEntity);
}
